<%@ Page Language="c#" Codebehind="Login.aspx.cs" AutoEventWireup="true" Inherits="BaseSystem.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>SysLogin</title>
    <link href="Style/Login.css" rel="stylesheet" type="text/css" />
    <link rel="Shortcut Icon" href="favicon.ico"  type="image/x-icon"/>
    <script type="text/javascript">
     function Login()
     {
        var userID=document.getElementById("UserID").value;
        var pwd=document.getElementById("PassWord").value;
        if(userID=="")
        {
		    alert("Please Input UserID!");
		    return false;
	    }
	    if(pwd=="")
	    {
		    alert("Please Input Password!");
		    return false;
	    }
	};
    </script>

    <style type="text/css">

   </style>
</head>
<body bgcolor="lavender" style="top: 50%; left: 50%; margin-top: -200px; margin-left: -300px;
    position: absolute;">
    <form id="Form1" method="post" runat="server">
        <table cellspacing="0" border="0" width="600px;" height="400px;">
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" align="center" border="0">
                        <tr>
                            <td style="height: 92px">
                                <img height="92" alt="" src="Images/Login/ASL_0_1.gif" width="286"></td>
                            <td style="height: 92px">
                                <img height="92" alt="" src="Images/Login/ASL_0_2.gif" width="285"></td>
                        </tr>
                        <tr>
                            <td>
                                <img height="194" alt="" src="Images/Login/ASL_0_3.gif" width="286"></td>
                            <td background="Images/Login/ASL_0_4.gif" height="194">
                                <table cellspacing="0" width="100%" border="0">
                                    <tr>
                                        <td width="29%" height="50">
                                            <div align="right">
                                                <%=Resources.Base.LoginUserID %>
                                            </div>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="UserID" class="lostfocus" gf="0" Height="20px" onblur='this.className="lostfocus";this.gf="0"'
                                                onfocus='this.className="getfocus";this.gf="1"' onmouseout='if (this.gf=="0") this.className="lostfocus"'
                                                onmouseover='this.className="getfocus"' runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div align="right">
                                                <%=Resources.Base.UserPWD %>
                                            </div>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="PassWord" class="lostfocus" gf="0" Height="20px" onblur='this.className="lostfocus";this.gf="0"'
                                                onfocus='this.className="getfocus";this.gf="1"' onmouseout='if (this.gf=="0") this.className="lostfocus"'
                                                onmouseover='this.className="getfocus"' runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="50">
                                        </td>
                                        <td>
                                            <asp:Button ID="btnLogin" runat="server" CssClass="button_bak" Text="<%$Resources:Base,Login %>"
                                                OnClick="btnLogin_Click" OnClientClick="javascript:return Login();"></asp:Button>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <img height="37" alt="" src="Images/Login/ASL_0_5.gif" width="286"></td>
                            <td>
                                <img height="37" alt="" src="Images/Login/ASL_0_6.gif" width="285"></td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="height: 14px">
                                <font>
                                    <asp:Label ID="lblMsg" runat="server" Width="559px" Font-Size="12px" ForeColor="Red"></asp:Label></font></td>
                        </tr>
                    </table>
                    <div align="center">
                        <br />
                        <span class="style1">Copyright c 2010 SMBSOFT Ltd .All Rights Reserved.</span>
                    </div>
                </td>
            </tr>
        </table>
        <asp:Label ID="lblRTN" runat="server" Width="555px" Visible="False">Label</asp:Label></form>
</body>
</html>
